from flask import Flask
app = Flask(__name__)

@app.route('/')
def index():
    str = f"""
    <html>
        <body>
            <h1> Hello World </h1>
        /<body>
    </html>
    """
    return str

@app.route('/hello/<name>')
def hello_name(name):
    return f'Hello {name}'

if __name__ == '__main__':
    app.run(debug=True)

